home *** CD-ROM | disk | FTP | other *** search
- *** ppm/ppmforge.c.old Mon Oct 04 10:12:28 1993
- --- ppm/ppmforge.c Thu Feb 10 01:06:08 1994
- ***************
- *** 662,670 ****
- --- 662,676 ----
- AtSat(ib, 255);
-
- inx = PlanetAmbient + (1.0 - PlanetAmbient) * di;
- + #ifndef _DCC
- ir *= inx;
- ig *= inx;
- ib *= inx;
- + #else
- + ir = ir * inx;
- + ig = ig * inx;
- + ib = ib * inx;
- + #endif /* _DCC */
- }
-
- PPM_ASSIGN(*rpix, ir, ig, ib);
- *** ppm/picttoppm.c.old Fri Jan 28 10:19:18 1994
- --- ppm/picttoppm.c Thu Feb 10 00:59:44 1994
- ***************
- *** 3008,3017 ****
- --- 3008,3024 ----
- double xscale;
- double yscale;
- {
- + #ifndef _DCC
- r->left *= xscale;
- r->right *= xscale;
- r->top *= yscale;
- r->bottom *= yscale;
- + #else
- + r->left = r->left * xscale;
- + r->right = r->right * xscale;
- + r->top = r->top * yscale;
- + r->bottom = r->bottom * yscale;
- + #endif /* _DCC */
- }
-
- static void
-